package com.physics.mps.entity.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author mcsoft
 * @since 2023-08-26
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_task")
public class TaskEntity {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("user_id")
    private String userId;

    @TableField("name")
    private String name;

    @TableField("status")
    private Integer status;

    @TableField("file_path")
    private String filePath;

    @TableField("param_id")
    private String paramId;

    @TableField("result_id")
    private String resultId;

    @TableField("simulation_app_id")
    private String simulationAppId;

    @TableField("create_by")
    private String createBy;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField("update_by")
    private LocalDateTime updateBy;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
